<?php
// +-----------------------+
// | 注释不留名，代码随便用 |
// +-----------------------+


namespace app\common\library\order\state;


use app\common\library\order\State;

class Paid extends State
{
    public function isDuty(): bool
    {
        return $this->order['status'] == ORDER_STATUS_PAY;
    }

    public function setNextState()
    {
       $this->nextState = new Send($this->order);
    }
}